const express = require('express');
const router = express.Router();

const userRoutes = require('./user.routes');
const exerciseRoutes = require('./exercise.routes');
const imageRoutes = require('./image.routes');
const orderRoutes = require('./order.routes');
const cardRoutes = require('./card.routes');
const pointsRoutes = require('./points.routes');
const systemRoutes = require('./system.routes');
const paymentRoutes = require('./payment.routes');
const shareRoutes = require('./share.routes');
const ossRoutes = require('./oss.routes');

// API Routes
router.use('/user', userRoutes);
router.use('/exercise', exerciseRoutes);
router.use('/image', imageRoutes);
router.use('/order', orderRoutes);
router.use('/card', cardRoutes);
router.use('/points', pointsRoutes);
router.use('/system', systemRoutes);
router.use('/payment', paymentRoutes);
router.use('/share', shareRoutes);
router.use('/oss', ossRoutes);

module.exports = router; 